/* 全局样式 */
.el-main {
  padding: 20px;
}

.page-header {
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #303133;
}

.page-header p {
  margin: 8px 0 0 0;
  color: #606266;
  font-size: 14px;
}

.content-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.data-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.data-card.success {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.data-card.warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.data-card.info {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.data-card .value {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.data-card .label {
  font-size: 14px;
  opacity: 0.9;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-form {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-form .el-form-item {
  margin-bottom: 0;
}

.page-footer {
  text-align: center;
  padding: 20px;
  color: #909399;
  font-size: 12px;
}

/* 状态标签 */
.status-tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-success {
  background: #f0f9ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

.status-warning {
  background: #fffbf0;
  color: #fa8c16;
  border: 1px solid #ffd591;
}

.status-error {
  background: #fff2f0;
  color: #f5222d;
  border: 1px solid #ffccc7;
}

/* 响应式 */
@media (max-width: 768px) {
  .el-main {
    padding: 10px;
  }
  
  .toolbar {
    flex-direction: column;
    gap: 16px;
  }
  
  .search-form {
    width: 100%;
    justify-content: center;
  }
}
